package com.business.components.tree.service;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.business.base.BaseDao;
import com.system.database.DS;

@Service("treeService")
@Transactional
public class TreeService {

	@Resource
	private BaseDao baseDao;
	
	public List<Map<String,Object>> SelectBusiness(String dataMapper,Map<String,Object> search)
	{
		return baseDao.selectList(dataMapper, search);
	}
	
	@DS("formDb")
	public List<Map<String,Object>> SelectForm(String dataMapper,Map<String,Object> search)
	{
		return baseDao.selectList(dataMapper, search);
	}
	
	@DS("frameDb")
	public List<Map<String,Object>> SelectFrame(String dataMapper,Map<String,Object> search)
	{
		return baseDao.selectList(dataMapper, search);
	}
	
}
